<div class="row-fluid">
	<a style="border:1px solid #ccc" class="block-heading" data-toggle="collapse">列表数据</a>
    <div class="well">
	    <div class="btn-toolbar">
	    	<button class="btn btn-primary ifrm" data-url="/sysmsg/addmsg" data-width="550" data-height="380" data-title="添加推送" data-params="" style="position:relative;float:right;padding:3px 6px;margin-right:10px">添加推送</button>
		    <form>
		    	<label style="display: inline;">标题名称：</label><input class="input input-medium" type="text" value="<?=I('get.msgtitle')?>" name="msgtitle"/>
		    	<label style="display: inline;margin-left: 15px">消息ID：</label><input class="input input-medium" type="text" value="<?=I('get.msgid')?>" name="msgid"/>
		    	<input type="hidden" value="<?=I('get.res')?>" name="res" />
		    	<button class="btn btn-info" style="margin:-9px 0 0 15px"><i class="icon-search"></i> 搜索</button>
		    </form>
		</div>
		<hr>
		<table class="table">
		      <thead>
		        <tr>
		        	<th style="text-align:center">序号</th>
		          <th style="text-align:center">消息标题</th>
		          <th style="text-align:center">内容</th>
		          <th style="text-align:center">注册时间</th>
		        </tr>
		      </thead>
		      <tbody>
		      	<?php if($sysData){foreach($sysData AS $key=>$val){ ?>
		        <tr> 
		          <td style="text-align:center;"><?=$val['sys_msg_id']?></td>
		          <td style="text-align:center;"><?=$val['sys_msg_title']?></td>
		          <td style="text-align:center;"><?=$val['sys_msg_content']?></td>
		          <td style="text-align:center;"><?=date('Y-m-d',$val['add_at'])?></td>
		        </tr>
		        <?php }}else{?>
		        <td style="text-align:center;" colspan=4>暂无数据</td></tbody>
		        <?php }?>
		   </table>
		   <span style="float:right;margin-top:-44px"><?=$page?></span>
	</div>
</div>